package com.truyen.service;

import java.util.List;

import com.truyen.persistence.entity.LoaiTruyenTranh;
import com.truyen.utils.PagingInfo;


public interface LoaiTruyenTranhService {
	
	// tao moi
	void save(LoaiTruyenTranh entity);

	//tim theo id
	LoaiTruyenTranh findById(Long id);

	//lay tat ca
	List<LoaiTruyenTranh> getAll();

	LoaiTruyenTranh findByProperty(String column, Object value);

	List<LoaiTruyenTranh> getAllLst(String kwSearch, String sort, String sortBy,
			PagingInfo pInfo);

	List<LoaiTruyenTranh> getLstAllWithPagingInfo(PagingInfo pInfo);
	
}
